home *** CD-ROM | disk | FTP | other *** search
- Path: INbe.net!usenet
- From: bert.wynants@innet.be (Bert Wynants)
- Newsgroups: comp.sys.amiga.programmer
- Subject: Re: sas/c c -> asm
- Date: 22 Jan 96 21:09:22 +0100
- Organization: INnet NV (post doesn't reflect views of INnet NV)
- Message-ID: <1375.6595T1269T1118@innet.be>
- References: <781.6594T816T2161@innet.be> <3102E8CB.5EC3@nando.net>
- NNTP-Posting-Host: pool016-16.innet.be
- X-Newsreader: THOR 2.22 (Amiga;TCP/IP)
-
- In article <3102E8CB.5EC3@nando.net>, sekruege@nando.net (Steve Krueger) writes:
-
- >> With SAS/C (6.56) it's possible to create an asm file out of a c-source
- >> file
- >> (disassemble option). However if I want to asm this generated file the
- >> assmebler chokes on it:
- >>
- >> test.a 214 Error: invalid operands for this opcode
- >> MOVEM.L D4/D5/D6/D7/A2/A3/A4/A5/A6,-(A7);48e7 0f3e
- >>
-
- >The SAS Assembler has a limit to the number of register ranges you can
- >specify on the movem instruction. Also, the semicolon should be separated
- >from the rest of the line by a space. Change this line to :
-
- > MOVEM.L D4-D7/A2-A6,-(A7) ;48e7 0f3e
-
- >And it should assemble ok.
-
- Yes, but problem is I need to do this a lot and want to do this automatic.
- The project is +-1Meg C-Source and that statement occurs often.
- (find replace in editor is not an option, must be able to do this from within the makefile)
-
- I was hoping I did something wrong with the compilation options.
-
- thanks for the try,
- Bert
- --
- ___ _
- ( _`\ ( )_ Fido
- | (_) ) __ _ __ | ,_) 2:292/603.76
- | _ <' /'__`\( '__)| | e-mail
- | (_) )( ___/| | | |_ bert.wynants@innet.be
- (____/'`\____)(_) `\__) Wynants, Belgium, Europe.
-
- In an atomic war, all men will be cremated equal.
-
-